Active Button Widget
A Button Widget that can supply its message and active state, and render a custom background
Author
fzzyhmstrs
Since
0.6.0
Parameters
Text - The message/label for this button
Int - width of the widget
Int - height of the widget
Supplier
Consumer
TextureSet, Nullable - a custom background texture set; defaults to DEFAULT_TEXTURES if null is passed (default)
A Button Widget that can supply its message and active state, and render a custom background
Author
fzzyhmstrs
Since
0.2.0, demoted to tertiary constructor 0.6.0 for TextureSet constructors
Parameters
Text - The message/label for this button
Int - width of the widget
Int - height of the widget
Supplier
Consumer
Identifier, Nullable - a custom background texture which will be used for all rendering circumstances; defaults to the "normal" texture for DEFAULT_TEXTURES if null is passed (default)
Parameters
Supplier<Text> - supplies the message/label for this button
Int - width of the widget
Int - height of the widget
Supplier
Consumer
TextureSet, optional - a custom background texture set; defaults to DEFAULT_TEXTURES